package com.runen.wnhz.runen.presenter.model;

import com.runen.wnhz.runen.data.entity.MyEvaluationBean;
import com.runen.wnhz.runen.service.MyEvaluationApi;

import java.util.Map;

import rx.Observable;

/**
 * NAME：薛世杰
 * DATE：2018/5/2
 * EMIAL：zenhac@163.com
 * DESCRIBE：
 */

public class EvaluationModel {


    MyEvaluationApi myEvaluationApi;

    public EvaluationModel(MyEvaluationApi myEvaluationApi) {
        this.myEvaluationApi = myEvaluationApi;
    }

    public  Observable<MyEvaluationBean> getContent(Map<String,String> map){
        return myEvaluationApi.getEvaluationList(map);
    }
}
